package com.jyh.blog.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AlbumVO {
    private String id;
    @NotBlank(message = "相册名不能为空")
    private String name;
    private String description;
    @NotBlank(message = "相册封面不能为空")
    private String cover;
    //状态，1公开，2私密
    private Integer status;
}
